import request from '@/utils/request'
import axios from 'axios'
import qs from 'qs'

export function getDataList(data) {
    return request({
        url: '/MesPieceWork/GetDataList',
        method: 'post',
        data: data
    })
}

export function UpdateForm(data) {
    return request({
        url: '/MesPieceWork/UpdateForm',
        method: 'post',
        data: data
    })
}

export function DeleteForm(data) {
    return request({
        url: '/MesPieceWork/DeleteForm',
        method: 'post',
        data: data
    })
}


export function DeleteRow(data) {
    return request({
        url: '/MesPieceWork/DeletRowData',
        method: 'post',
        data: data
    })
}

export function getfunDownload(data) {
    data.Download="1";
    return request({
        url: '/MesPieceWork/GetDataList',
        method: 'post',
        data: data
    })
}